package com.shop.entity;

import java.util.Date;

/**
 * 
 * @类名 admin
 * @描述 管理员实体类
 * @作者： 李健玖
 * @日期：2018年6月28日下午2:31:56
 */
public class admin {
	private String aid;
	private String adminname;
	private String password;
	private String phone;
	private String sex;
	private Date birthday;
	private String roleId;
	private Date creatDate;
	private Date lastDate;
	
	public admin(){}
	
	public admin(String aid, String adminname, String password, String phone, String sex, Date birthday,
			String roleId, Date creatDate, Date lastDate) {
		super();
		this.aid = aid;
		this.adminname = adminname;
		this.password = password;
		this.phone = phone;
		this.sex = sex;
		this.birthday = birthday;
		this.roleId = roleId;
		this.creatDate = creatDate;
		this.lastDate = lastDate;
		
	}
	@Override
	public String toString() {
		return "admin [aid=" + aid + ", adminname=" + adminname + ", password=" + password + ", phone=" + phone
				+ ", sex=" + sex + ", birthday=" + birthday + ", roleId=" + roleId + ", creatDate=" + creatDate
				+ ", lastDate=" + lastDate + "]";
	}
	public String getAid() {
		return aid;
	}
	public void setAid(String aid) {
		this.aid = aid;
	}
	public String getAdminname() {
		return adminname;
	}
	public void setAdminname(String adminname) {
		this.adminname = adminname;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public Date getCreatDate() {
		return creatDate;
	}
	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}
	public Date getLastDate() {
		return lastDate;
	}
	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}


}
